package ui.activity.profit.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.profit.biz.MerchantTradeBiz;
import ui.activity.profit.contract.MerchantTradeContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class MerchantTradeModule {
    private MerchantTradeContract.View view;

    public MerchantTradeModule(MerchantTradeContract.View view) {
        this.view = view;
    }

    @Provides
    public MerchantTradeContract.View provideView() {
        return view;
    }

    @Provides
    public MerchantTradeBiz provideBiz() {
        return new MerchantTradeBiz();
    }
}